package com.mf.mysql.connectors.service.batisutils.JDBCutils;

import java.util.List;
import java.util.Map;

/**
 * @PACKAGE_NAME: com.mf.mysql.connectors.service.batisutils.JDBCutils
 * @NAME: Paging
 * @USER: 马飞飞
 * @DATE: 2021/8/14   0:39
 * @TIME: 0:39
 * @YEAR: 2021
 * @MONTH: 08
 */
public final class Paging<T>{
    private List<T> list = null;
    private Integer pageNum =0;
    private Integer pages =0;
    private Integer total =0;
    private Integer lastPage=0;
    private Integer firstPage=0;

    public Integer getLastPage() {
        return lastPage;
    }

    public void setLastPage(Integer lastPage) {
        this.lastPage = lastPage;
    }

    public Integer getFirstPage() {
        return firstPage;
    }

    public void setFirstPage(Integer firstPage) {
        this.firstPage = firstPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
